package com.hsp.Demo_12_enum;

public class Demo_03 {
    public static void main(String[] args) {
        System.out.println(Season03.SPRING);
    }
}

enum  Season03{

    SPRING("春天", "万物复苏"), SUMMER("夏天", "比较凉快"), AUTUMN("秋天", "秋高气爽"),
    WINTER("冬天", "真冷"), WAIT;
//    public final static Season SPRING = new Season("春天", "万物复苏");
//    public final static Season SUMMER = new Season("夏天", "比较凉快");
//    public final static Season AUTUMN = new Season("秋天", "秋高气爽");
//    public final static Season WINTER = new Season("冬天", "真冷");
//     public final static Season WAIT = new Season();

    private String name;
    private String desc;

    Season03() {
    }

    private Season03(String name, String desc) {
        this.name = name;
        this.desc = desc;
    }

    public String getName() {
        return name;
    }

    public String getDesc() {
        return desc;
    }

}
